package com.kun.mall.order.feign;

import com.kun.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author fangkun
 * @create 2023-03-29-16:06
 */
@FeignClient("mall-product")
public interface ProductFeignService {

    @GetMapping("product/spuinfo/skuId/{id}")
    public R getSpuInfoBySkuId(@PathVariable("id") Long skuId);
}
